-- GENERATED SPELL FOR [Starving Winter Wolf] --


function spell0_1133(pUnit, Event) --@Crazed Hunger,Self--
pUnit:FullCastSpellOnTarget(3151,pUnit)
pUnit:RegisterEvent('Sorts_1133', 6000, 1)
end

function Sorts_1133(pUnit, Event)
local choix_sorts_1133 = math.random(0, 0)
if choix_sorts_1133 == 0 then
pUnit:RegisterEvent('spell0_1133', 1, 1)
end
end

function mob1133_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1133', math.random(1500, 3000), 1)
end

function mob1133_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1133_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1133_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1133, 1, 'mob1133_Action')
RegisterUnitEvent(1133, 2, 'mob1133_Leave')
RegisterUnitEvent(1133, 3, 'mob1133_Kill')
RegisterUnitEvent(1133, 4, 'mob1133_Die')
